import webpack from 'webpack';
import config from './webpack.base';

config.plugins = [
	...config.plugins,
  new webpack.DefinePlugin({
    'process.env': {
      NODE_ENV: '"production"'
    }
  }),
  new webpack.optimize.UglifyJsPlugin({
    compress: {
      warnings: false
    },
    comments: false
  })
];

export default config;